<div class="pageContent">
	<form method="post" action="#{$smarty.const.ACT}#/admin/Book/book_add/" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<fieldset>
				<legend>基础信息：</legend>
			<p>
				<label>小说名称：</label>
				<input name="name" class="required" type="text" alt="请输名称"/>
			</p>
			<p>
				<label>作者：</label>
				<input type="text" name="writer" class="required">
			</p>
			<p>
				<label>分类：</label>
				<input name="type.id" value="" type="hidden"/>
				<input class="required" name="type.typename" type="text" postField="keyword" suggestFields="typename" 
					suggestUrl="#{$smarty.const.ACT}#/admin/BookType/book_type_lookup/" lookupGroup="type"/>
			</p>
			<p>
				<label>小说封面：</label>
				<input type="text" name="bookimg.spath"  class="readonly">
				<a class="btnAttach" href="#{$smarty.const.ACT}#/Upload/upload_img/" lookupGroup="bookimg" width="560" height="300" title="附件">附件</a>
			</p>
			<p>
				<label>小说状态：</label>
				<input type="radio" name="overs" value="0">连载中
				<input type="radio" name="overs" value="1">已完结
			</p>
			<p>
				<label>审核状态：</label>
				<input type="radio" name="audit" value="0">已审核
				<input type="radio" name="audit" value="1">未审核
			</p>
			<div class="divider"></div>
				<fieldset>
					<legend>小说介绍：</legend>
						<dl class="nowrap">
							<dd><textarea name="intro" cols="80" rows="3" class="editor"></textarea></dd>
						</dl>
				</fieldset>	
				<div class="divider"></div>
				<fieldset>
					<legend>优化参数：</legend>
						<p>
							<label>更新时间：</label>
							<input type="text" name="udt" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" readonly/>
				<a class="inputDateButton" href="javascript:;">选择</a>
						</p>
							<p>
								<label>推荐类型：</label>
								<input type="radio" name="istop"> 置顶
							</p>
						<p>
							<label>总点击：</label>
							<input type="text" name="click_a" value="100" class="digits">
						</p>
						<p>
							<label>月点击：</label>
							<input type="text" name="click_m" value="10" class="digits">
						</p>
						<p>
							<label>周点击：</label>
							<input type="text" name="click_w" value="10" class="digits">
						</p>
						<p>
							<label>总推荐：</label>
							<input type="text" name="recomm_a" value="100" class="digits">
						</p>
						<p>
							<label>月推荐：</label>
							<input type="text" name="recomm_m" value="10" class="digits">
						</p>
						<p>
							<label>周推荐：</label>
							<input type="text" name="recomm_w" value="10" class="digits">
						</p>
				</fieldset>	
			</fieldset>	
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
